import request from '@/utils/request'

export default{
 // 数据字典列表
 dictList(id){
   return request({
     url:`/admin/cmn/dict/selChildDictById/${id}`,
     method:'get'
   })
 },
 selectById(id){
    return request({
      url: `/admin/cmn/dict/findById/${id}`,
      method:'get'
    })
 },
 updateById(dict){
    return request({
      url:'/admin/cmn/dict/updateById',
      method:'post',
      data:dict
    })
 }
}
